﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace RPGXEngine.IO
{
    public class TextFileLoader : ITextFileLoader
    {
        #region Public Methods

        public string Load(string fileName)
        {
            StreamReader fp = File.OpenText(fileName);

            string text = fp.ReadToEnd();

            fp.Close();

            return text;
        }

        #endregion
    }
}
